var a = 1;
while (a <= 5) {
    console.log("this is while: ", a);
    a++;
}

for (var i = 0; i <= 10; i++) {
    console.log("this is ForLoop: ", i);
}

var list = [1, 2, 3, 4, 5]
for (var item in list) {
    console.log("item: ", list[item]);
}